package com.ebor.utils.common.setting;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * redis参数
 *
 * @author yinjunwu
 */
@Component
@ConfigurationProperties(prefix = "spring.redis")
@Data
public class RedisProperties {
    private String clusterNodes;
    private String password;
    private int timeout;
    private int commandTimeout;
    private int maxActive;
    private int minIdle;
    private int maxIdle;
    private long maxWait;
    private int maxAttempts;
}